package com.gxa.eshop.repository;

import com.gxa.eshop.pojo.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @author bill
 * @date 2022/1/20 9:46
 */
public interface UserRepository extends CrudRepository<User,Long> {

    public User findUserByPhone(String phone);

    public User findUserByUsername(String username);

}